public class San extends Tuxing {
	private int a, b, c;

	public San(int a, int b, int c, String name) {
		super(name);
		this.a = a;
		this.b = b;
		this.c = c;
	}

	public void cal() {
		zhou = a + b + c;
		double d = (a + b + c) / 2;
		ji = Math.sqrt(d * (d - a) * (d - b) * (d - c));
	}
}
